﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User_center/MainContentNotHead.Master"
    AutoEventWireup="true" CodeBehind="ViewMySupplyPurchase.aspx.cs" Inherits="IService.User_center.ViewMySupplyPurchase" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

    <script type="text/javascript" src="../Scripts/jwplayer/jwplayer.js"></script>
    <script type="text/javascript">
        $(function () {
            // Dialog
            $('#dialog1').dialog({
                autoOpen: false,
                width: 510,
                modal: true,
                resizable: false,
                buttons: {
                    "Ok": function () {
                        $(this).dialog("close");
                    },
                    "Cancel": function () {
                        $(this).dialog("close");
                    }
                }
            });

            // Dialog Link
            $('#openVideo1').click(function () {
                $('#dialog1').dialog('open');

                return false;
            });

            // Dialog
            $('#dialog2').dialog({
                autoOpen: false,
                width: 510,
                modal: true,
                resizable: false,
                buttons: {
                    "Ok": function () {
                        $(this).dialog("close");
                    },
                    "Cancel": function () {
                        $(this).dialog("close");
                    }
                }
            });

            // Dialog Link
            $('#openVideo2').click(function () {
                $('#dialog2').dialog('open');

                return false;
            });

            // Dialog
            $('#dialog3').dialog({
                autoOpen: false,
                width: 510,
                modal: true,
                resizable: false,
                buttons: {
                    "Ok": function () {
                        $(this).dialog("close");
                    },
                    "Cancel": function () {
                        $(this).dialog("close");
                    }
                }
            });

            // Dialog Link
            $('#openVideo3').click(function () {
                $('#dialog3').dialog('open');

                return false;
            });

            //hover states on the static widgets
            $('#dialog_link, ul#icons li').hover(
                    function () { $(this).addClass('ui-state-hover'); },
                    function () { $(this).removeClass('ui-state-hover'); }
                );

        });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="RightMainContent" runat="server">
    <div id="tab1" class="ui-tabs-panel ui-widget-content ui-corner-bottom" runat="server">
        <h3>求购信息预览</h3>
        <p>
            <label>
                需求分类: 
            </label>
            <asp:Label ID="lblSupplyPurchaseType" runat="server" Text=""></asp:Label>
        </p>
        <p>
            <label>
                <span class="red">*</span>行业分类：</label>
            <span class="inputBlock">
                <asp:CheckBoxList ID="cblSupplyProductType" RepeatDirection="Horizontal" runat="server" Enabled="false">
                    <asp:ListItem Text="内容制作" Value="内容制作"></asp:ListItem>
                    <asp:ListItem Text="制播设备" Value="制播设备"></asp:ListItem>
                    <asp:ListItem Text="传输设备" Value="传输设备"></asp:ListItem>
                    <asp:ListItem Text="系统软件" Value="系统软件"></asp:ListItem>
                    <asp:ListItem Text="专业芯片" Value="专业芯片"></asp:ListItem>
                    <asp:ListItem Text="终端产品" Value="终端产品"></asp:ListItem>
                    <asp:ListItem Text="网络运营" Value="网络运营"></asp:ListItem>
                </asp:CheckBoxList>
            </span>
        </p>
        <p>
            <label>
                <span class="red">*</span>产品名称：</label>
            <span class="inputBlock">
                <asp:TextBox ID="txtSupplyProductName" runat="server" Enabled="false"></asp:TextBox>
            </span>
        </p>
        <h3>详细信息</h3>
        <p>
            <label>
                <span class="red">*</span>信息标题：</label>
            <span class="inputBlock">
                <asp:TextBox ID="txtSupplyInfoTitle" runat="server" Enabled="false"></asp:TextBox>
            </span>
        </p>
        <p>
            <label>
                产品要求：</label>
            <%=ProductDetail %>
            <span class="inputBlock">
                
                <%--<textarea name="" id="txtareaSupplyProductDetailt" runat="server" disabled="disabled"></textarea>--%>
            </span>
        </p>
        <p>
            <asp:Button ID="btnSupply" class="submitBtn" runat="server" Text="关闭窗口" OnClick="btnSupply_Click" />
            <span>
                <asp:Label ID="lblErrorSupply" runat="server" class="red"></asp:Label>
            </span>
        </p>
    </div>
    <div id="tab2" class="ui-tabs-panel ui-widget-content ui-corner-bottom" runat="server">
        <h3>供应信息预览</h3>
        <p>
            <label>
                需求分类: 
            </label>
            <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
        </p>
        <p>
            <label>
                <span class="red">*</span>行业分类：</label>
            <span class="inputBlock">
                <asp:CheckBoxList ID="cblPurchaseProductType" RepeatDirection="Horizontal" runat="server" Enabled="false">
                    <asp:ListItem Text="内容制作" Value="内容制作"></asp:ListItem>
                    <asp:ListItem Text="制播设备" Value="制播设备"></asp:ListItem>
                    <asp:ListItem Text="传输设备" Value="传输设备"></asp:ListItem>
                    <asp:ListItem Text="系统软件" Value="系统软件"></asp:ListItem>
                    <asp:ListItem Text="专业芯片" Value="专业芯片"></asp:ListItem>
                    <asp:ListItem Text="终端产品" Value="终端产品"></asp:ListItem>
                    <asp:ListItem Text="网络运营" Value="网络运营"></asp:ListItem>
                </asp:CheckBoxList>
            </span>
        </p>
        <p>
            <label>
                <span class="red">*</span>产品名称：</label>
            <span class="inputBlock">
                <asp:TextBox ID="txtPurchaseProductName" runat="server" Enabled="false"></asp:TextBox>
            </span>
        </p>
        <h3>详细信息</h3>
        <p>
            <label>
                信息标题：</label>
            <span class="inputBlock">
                <asp:TextBox ID="txtPurchaseInfoTitle" runat="server" Enabled="false"></asp:TextBox>
            </span>
        </p>
        <p>
            <label>
                产品图片：</label>
            <ul class="inputImgBlock">
                <li>
                    <asp:Image ID="imgProduct1" runat="server" ImageUrl="" Width="140"
                        Height="140" />
                </li>
                <li>
                    <asp:Image ID="imgProduct2" runat="server" ImageUrl="" Width="140"
                        Height="140" />
                </li>
                <li>
                    <asp:Image ID="imgProduct3" runat="server" ImageUrl="" Width="140"
                        Height="140" />
                </li>
            </ul>
        </p>
        <p>
            <label>
                产品视频：</label>
            <ul class="inputImgBlock">
                <li>
                    <a id="openVideo1" href="">
                        <asp:Image ID="imgProduct4" runat="server" ImageUrl=""
                            Width="140" Height="140" />
                    </a>
                </li>
                <li>
                    <a id="openVideo2" href="">
                        <asp:Image ID="imgProduct5" runat="server" ImageUrl=""
                            Width="140" Height="140" />
                    </a>
                </li>
                <li>
                    <a id="openVideo3" href="">
                        <asp:Image ID="imgProduct6" runat="server" ImageUrl=""
                            Width="140" Height="140" />
                    </a>
                </li>
            </ul>
        </p>
        <p>
            <label>
                详细说明：</label>
            <%=ProductDetail %>
            <span class="inputBlock">
                
                <%--<textarea id="txtareaPurchaseProductDetail" runat="server" disabled="disabled"></textarea>--%>
            </span>
        </p>
        <p>
            <asp:Button ID="btnPurchase" class="submitBtn" runat="server" Text="关闭窗口" OnClick="btnPurchase_Click" />
            <span>
                <asp:Label ID="lblErrorPurchase" runat="server" class="red"></asp:Label>
        </p>
    </div>
    <!-- ui-dialog -->
    <div id="dialog1" title="Watch the wonderful review">
        <div class="flashVideo" style="height: 360px; width: 480px; position: relative;">
            <object height="100%" width="100%" type="application/x-shockwave-flash" data="jwplayer/player.swf"
                bgcolor="#000000" id="mediaplayer1" name="mediaplayer" tabindex="0">
                <param name="allowfullscreen" value="true">
                <param name="allowscriptaccess" value="always">
                <param name="seamlesstabbing" value="false">
                <param name="wmode" value="opaque">
                <param name="flashvars" value="netstreambasepath=file%3A%2F%2F%2FC%3A%2FUsers%2Fninjaisun%2FDownloads%2Fmediaplayer-viral%2Fmediaplayer-5.9-viral%2Freadme.html&amp;id=mediaplayer&amp;file=video.mp4&amp;image=preview.jpg&amp;controlbar.position=over">
            </object>
            <script type="text/javascript">
                jwplayer("mediaplayer1").setup({
                    flashplayer: "../Scripts/jwplayer/player.swf",
                    file: "../<%=VideoList["Video1"]%>",
                    image: "../images/video_view.jpg"
                });
            </script>
        </div>
    </div>
    <!-- ui-dialog -->
    <div id="dialog2" title="Watch the wonderful review">
        <div class="flashVideo" style="height: 360px; width: 480px; position: relative;">
            <object height="100%" width="100%" type="application/x-shockwave-flash" data="jwplayer/player.swf"
                bgcolor="#000000" id="mediaplayer2" name="mediaplayer" tabindex="0">
                <param name="allowfullscreen" value="true">
                <param name="allowscriptaccess" value="always">
                <param name="seamlesstabbing" value="false">
                <param name="wmode" value="opaque">
                <param name="flashvars" value="netstreambasepath=file%3A%2F%2F%2FC%3A%2FUsers%2Fninjaisun%2FDownloads%2Fmediaplayer-viral%2Fmediaplayer-5.9-viral%2Freadme.html&amp;id=mediaplayer&amp;file=video.mp4&amp;image=preview.jpg&amp;controlbar.position=over">
            </object>
            <script type="text/javascript">
                jwplayer("mediaplayer2").setup({
                    flashplayer: "../Scripts/jwplayer/player.swf",
                    file: "../<%=VideoList["Video2"]%>",
                    image: "../images/video_view.jpg"
                });
            </script>
        </div>
    </div>
    <!-- ui-dialog -->
    <div id="dialog3" title="Watch the wonderful review">
        <div class="flashVideo" style="height: 360px; width: 480px; position: relative;">
            <object height="100%" width="100%" type="application/x-shockwave-flash" data="jwplayer/player.swf"
                bgcolor="#000000" id="mediaplayer3" name="mediaplayer" tabindex="0">
                <param name="allowfullscreen" value="true">
                <param name="allowscriptaccess" value="always">
                <param name="seamlesstabbing" value="false">
                <param name="wmode" value="opaque">
                <param name="flashvars" value="netstreambasepath=file%3A%2F%2F%2FC%3A%2FUsers%2Fninjaisun%2FDownloads%2Fmediaplayer-viral%2Fmediaplayer-5.9-viral%2Freadme.html&amp;id=mediaplayer&amp;file=video.mp4&amp;image=preview.jpg&amp;controlbar.position=over">
            </object>
            <script type="text/javascript">
                jwplayer("mediaplayer3").setup({
                    flashplayer: "../Scripts/jwplayer/player.swf",
                    file: "../<%=VideoList["Video3"]%>",
                    image: "../images/video_view.jpg"
                });
            </script>
        </div>
    </div>
</asp:Content>
